package model;

public class Present {
	int id;
	String description;
	String figurePath;
	public Present(int id, String description, String figurePath) {
		super();
		this.id = id;
		this.description = description;
		this.figurePath = figurePath;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Present [id=" + id + ", description=" + description
				+ ", figurePath=" + figurePath + "]";
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Present other = (Present) obj;
		if (id != other.id)
			return false;
		return true;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @return the figurePath
	 */
	public String getFigurePath() {
		return figurePath;
	}
	
}
